import http from '../service/http'
// post请求
export function postLoginAPI(params) {
  return http.post('common/user/loginByPassword', params)
}
// get请求
export function getLoginAPI(url) {
  return http.get(url)
}
export function getLoginfindAPI(email) {
  return http.get(`common/user/getCode/${email}`)
}